package project.hulpPakket;

import static org.junit.Assert.fail;

import org.junit.Test;

public class Matrix4fTest {

	@Test
	public void test() {
		Matrix4f m1 = new Matrix4f(); 
		Matrix4f m2 = new Matrix4f();
		m1.setIdentity();
		m2.setIdentity();
		Matrix4f m = Matrix4f.prod(m1, m2);
		if(m.m00!=1 || m.m01!=0 || m.m10 !=0 || m.m11 != 1) fail("matrix product failed");
	}

}
